﻿using System;

namespace SharpSqlAnalyzer.nodes.hive
{
	// Token: 0x0200041B RID: 1051
	public class THivePrincipalName : TParseTreeNode
	{
		// Token: 0x17000948 RID: 2376
		// (get) Token: 0x0600289F RID: 10399 RVA: 0x0033CB5C File Offset: 0x0033AD5C
		// (set) Token: 0x060028A0 RID: 10400 RVA: 0x0033CB64 File Offset: 0x0033AD64
		public virtual EHivePrincipalType PrincipalType
		{
			get
			{
				return this.principalType;
			}
			set
			{
				this.principalType = value;
			}
		}

		// Token: 0x17000949 RID: 2377
		// (get) Token: 0x060028A1 RID: 10401 RVA: 0x0033CB6D File Offset: 0x0033AD6D
		// (set) Token: 0x060028A2 RID: 10402 RVA: 0x0033CB75 File Offset: 0x0033AD75
		public virtual TObjectName PrincipalName
		{
			get
			{
				return this.principalName;
			}
			set
			{
				this.principalName = value;
			}
		}

		// Token: 0x060028A3 RID: 10403 RVA: 0x0033CB7E File Offset: 0x0033AD7E
		public override void init(object arg1, object arg2)
		{
			this.principalType = (EHivePrincipalType)arg1;
			this.principalName = (TObjectName)arg2;
		}

		// Token: 0x060028A4 RID: 10404 RVA: 0x0033CB98 File Offset: 0x0033AD98
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x060028A5 RID: 10405 RVA: 0x0033CBA8 File Offset: 0x0033ADA8
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x04001E66 RID: 7782
		private TObjectName principalName;

		// Token: 0x04001E67 RID: 7783
		private EHivePrincipalType principalType;
	}
}
